/*
 *  Project     : QKeyboardStatistic
 *  Author      : Durachenko Aleksey V. <durachenko.aleksey@gmail.com>, 2011
 *  Licence     : GNU GENERAL PUBLIC LICENSE Version 2
 */
#include <QApplication>
#include "cmainwindow.h"

int main(int argc, char* argv[])
{
    QApplication app(argc, argv);

    // register new types of events
    QEvent::registerEventType(G_KeyPressEventId);
    QEvent::registerEventType(G_MouseMoveEventId);
    QEvent::registerEventType(G_MousePressEventId);

    // show window
    CMainWindow win;

    // eventloop
    return app.exec();
}
